// 电视剧图片的遍历
// 10张图片
.layout {
  width: 90%;
  margin: 0 auto;
  //  同期播出2
  .common-container {
    position: relative;
    width: 100%;
    .ant-tabs {
      position: relative;
      .tablists {
        margin-bottom: 15px;
        display: flex;
        .qy-tv {
          text-decoration: none;
          color: black;
          font-size: 22px;
          font-weight: bold;
        }
        .qy-change {
          display: inline-block;
          // padding-left:90px;
          white-space: nowrap;
          .qy-left,
          .qy-right {
            outline: none;
            border: none;
            background: transparent;
            color: #ccc;
            display: inline-block;
            width: 25px;
            height: 25px;
            text-align: center;
            line-height: 25px;
            cursor: pointer;

            &:hover {
              background-color: rgba(0, 0, 0, 0.4);
            }
          }
        }
      }
      // 八张图片
      .tab-ant {
        width: 100%;
        height: 790px;
        overflow: hidden;
        position: relative;
        .tabpanel {
          width: 100%;
          height: 100%;
          overflow: hidden;
          position: relative;
          .panel {
            display: grid;
            grid-template-columns: 19.5% 19.5% 19.5% 19% 19.5%;
            grid-template-rows: 395px 395px;
            // grid-gap: 20px;
            .panel-li {
              list-style: none;
              // height: 290px;
              margin-right: 20px;

              // &:nth-child(5){
              //     margin-right: 0;
              // }
              .add-panel {
                width: 100%;
                height: 100%;
                .panel-div {
                  height: 320px;
                  border-radius: 5px;
                  overflow: hidden;
                  transition: all 0.3s;
                  position: relative;
                  .aplus {
                    text-decoration: none;
                    height: 100%;
                    width: 100%;
                    transition: all 0.3s;
                    img {
                      width: 100%;
                      height: 100%;
                      &:hover {
                        transform: scale(1.1);
                      }
                    }
                    .pack-br {
                      position: absolute;
                      bottom: 0;
                      left: 0;
                      right: 0;
                      height: 50px;
                      background-image: linear-gradient(
                        180deg,
                        transparent,
                        rgba(0, 0, 0, 0.1) 30%,
                        rgba(0, 0, 0, 0.5)
                      );
                      padding: 0 8px;
                      .mod-spans {
                        display: block;
                        padding-top: 12px;
                        line-height: 28px;
                        color: #fff;
                        font-size: 13px;
                        text-align: right;
                      }
                    }
                  }
                }
                .box-title {
                  margin-bottom: 6px;
                  height: 18px;
                  line-height: 18px;
                  padding-right: 5px;
                  white-space: nowrap;
                  text-overflow: ellipsis;
                  overflow: hidden;
                  cursor: pointer;
                  a {
                    text-decoration: none;
                    color: black;
                    font-size: 16px;
                    font-weight: 400;
                    p {
                      &:hover {
                        color: #16e067;
                      }
                    }
                  }
                }
                .box-sub-title {
                  color: rgba(24, 25, 30, 0.6);
                  margin-top: 5 px;
                  height: 31px;
                  line-height: 31px;
                  font-size: 14px;
                  overflow: hidden;
                  text-overflow: ellipsis;
                  white-space: nowrap;
                }
              }

              // 鼠标悬停上班里面的内容会改变
              .hovers {
                display: none;
                .hover-link {
                  position: relative;
                  overflow: hidden;
                  border-radius: 3px;
                  height: 195px;
                  .hover-a {
                    text-align: center;
                    height: 150px;
                    position: relative;
                    .qy-mod-hover {
                      height: 100%;
                      .hover-mod-img {
                        width: 100%;
                        height: 100%;
                      }
                    }
                    .qy-hover-tr {
                      position: absolute;
                      top: 0;
                      left: 0;
                      width: 35px;
                      height: 20px;
                      text-align: center;
                      line-height: 20px;
                      color: #fff;
                      background-color: rgb(54, 53, 53);
                      img {
                        width: 100%;
                        height: 100%;
                      }
                    }
                  }
                }
                .hover-wrap {
                  position: relative;
                  padding-top: 5px;

                  text-overflow: ellipsis;
                  display: -webkit-box;
                  -webkit-line-clamp: 2;
                  -webkit-box-orient: vertical;
                  .hover-main {
                    overflow: hidden;
                    line-height: 26px;
                    height: 26px;
                    font-size: 16px;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    .hover-eight {
                      text-decoration: none;
                      color: rgba(24, 25, 30, 0.6);
                      overflow: hidden;
                      text-overflow: ellipsis;
                      transition: color 0.1s ease-in-out;
                      &:hover {
                        color: #16e067;
                      }
                    }
                  }
                  .hover-sub,
                  .hover-play {
                    height: 22px;
                    line-height: 22px;
                    font-size: 12px;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    color: black;
                  }
                  .hover-story {
                    white-space: normal;
                    word-break: break-all;
                    text-overflow: ellipsis;
                    font-size: 12px;
                    line-height: 19px;
                    color: black;
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

// 底部样式
.lastPage {
  width: 90%;
  position: relative;
  margin: 0 auto;
  .lastBottom {
    width: 100%;
    position: relative;
    height: 76px;

    .bottom-line {
      height: 100%;
      text-align: center;
      border-bottom: 1px solid hsla(0, 0%, 100%, 0.05);
      p {
        font-size: 12px;
        display: inline-block;
        color: #999;
        line-height: 76px;
        text-align: center;
      }
    }
  }
  .g-footer {
    border-top: 1px solid #999;
    margin-top: 20px;
    .g-foot {
      display: flex;
      justify-content: space-between;
      height: 136px;
      .dl-one,
      .dl-two,
      .dl-three {
        flex: 1;
        display: flex;
        flex-direction: column;
        margin-right: 50px;
        .title-IV {
          color: #fff;
          font-size: 14px;
          font-weight: bold;
        }
        a {
          text-decoration: none;
          color: #999;
          display: inline-block;
          width: 80px;
          font-size: 12px;
          cursor: pointer;
          &:hover {
            color: #16e067;
          }
        }
      }
    }

    // 最底部
    .last-foot {
      width: 100%;
      height: 200px;
    }
  }
}
